package com.syedu.day08.v2;

/**
 * @Description 交通工具父类
 * @createTime 2022/3/18 9:31
 * @author Administrator
 */
public abstract class Vehicle {
    private String brand;
    private String type;

    public Vehicle() {
    }

    public Vehicle(String brand, String type) {
        this.brand = brand;
        this.type = type;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public abstract void move();
}
